package edu.nf.ch03.entity;

import lombok.Data;
import org.springframework.ai.tool.annotation.ToolParam;

/**
 * @author wangl
 * @date 2025/4/19
 * 选择题
 */
@Data
public class Choice {
    @ToolParam(required = false)
    private Integer id;
    @ToolParam(description = "题目")
    private String topic;
    @ToolParam(description = "选项A")
    private String optionA;
    @ToolParam(description = "选项B")
    private String optionB;
    @ToolParam(description = "选项C")
    private String optionC;
    @ToolParam(description = "选项D")
    private String optionD;
    @ToolParam(description = "正确答案")
    private String answer;
}